Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.platform.TemplateSources.doctypes--doctype

This contribution is part of XML component org.nuxeo.platform.TemplateSources.doctypes inside nuxeo-template-rendering-core-9.10.jar /OSGI-INF/core-types-contrib.xml

Extension Point

Extension point doctype of component TypeService.

Contributed Items

  • <facet name="Template"/>
  • <facet name="TemplateBased">
          <schema name="templatesupport"/>
        </facet>
  • <doctype extends="Document" name="TemplateSource">
          <schema name="common"/>
          <schema name="file"/>
          <schema name="dublincore"/>
          <schema name="uid"/>
          <schema name="documenttemplate"/>
          <facet name="Downloadable"/>
          <facet name="Versionable"/>
          <facet name="Commentable"/>
          <facet name="HasRelatedText"/>
          <facet name="Template"/>
        </doctype>
  • <doctype extends="File" name="TemplateBasedFile">
          <facet name="TemplateBased"/>
        </doctype>
  • <doctype append="true" name="Folder">
          <subtypes>
            <type>TemplateSource</type>
          </subtypes>
        </doctype>
  • <doctype append="true" name="Workspace">
          <subtypes>
            <type>TemplateSource</type>
          </subtypes>
        </doctype>
  • <doctype append="true" name="TemplateRoot">
          <subtypes>
            <type>TemplateSource</type>
          </subtypes>
        </doctype>

XML Source

<extension point="doctype" target="org.nuxeo.ecm.core.schema.TypeService">

    <facet name="Template"/>

    <facet name="TemplateBased">
      <schema name="templatesupport"/>
    </facet>

    <doctype extends="Document" name="TemplateSource">
      <schema name="common"/>
      <schema name="file"/>
      <schema name="dublincore"/>
      <schema name="uid"/>
      <schema name="documenttemplate"/>
      <facet name="Downloadable"/>
      <facet name="Versionable"/>
      <facet name="Commentable"/>
      <facet name="HasRelatedText"/>
      <facet name="Template"/>
    </doctype>

    <doctype extends="File" name="TemplateBasedFile">
      <facet name="TemplateBased"/>
    </doctype>

    <doctype append="true" name="Folder">
      <subtypes>
        <type>TemplateSource</type>
      </subtypes>
    </doctype>
    <doctype append="true" name="Workspace">
      <subtypes>
        <type>TemplateSource</type>
      </subtypes>
    </doctype>
    <doctype append="true" name="TemplateRoot">
      <subtypes>
        <type>TemplateSource</type>
      </subtypes>
    </doctype>

  </extension>